﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CQRSFramework.Events
{
    public interface IDomainEventStreamMessage
    {
        string CommandId { get; set; }
        string AggregateRootId { get; set; }
        string AggregateRootTypeName { get; set; }
        int Version { get; set; }
        IEnumerable<IDomainEvent> DomainEvents { get; set; }
        DateTime TimeStamp { get; set; }
    }
}
